DX11 SET DEPTH TEST FUNCTION
Sets the function used to perform the depth test with the given depth stencil state.
This allows various comparison functions to be used to compare depth data to data already present in the depth buffer.
DX11 SET DEPTH TEST FUNCTION depthStencilState, func
depthStencilState
Dword
The depth stencil state to set the depth test comparison function of.
func
Dword
The depth test comparison function. Must be one of the D3D11_COMPARISON_XXX constants.
This function does not return a value.
DEPTHSTENCILSTATE Functions Menu
DX11 Function Categories